package com.easy.common.bean;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("`pay`")  // 关键修改：添加表名注解并用反引号包围
public class Pay {
     private Integer id;
     private String orderNo;
     private Integer userId;
     private BigDecimal amount;
     private Integer payType;
     private String transId;
     private Integer status;
     @TableLogic//软删除
     private Integer isdel;
     private LocalDateTime payTime;
     private LocalDateTime createtime;
     private LocalDateTime updatetime;


}
